<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
  <aaa :myCase="ass"></aaa>
</div>
</body>
</html>
<script>
  Vue.component('aaa',{
    template:`<h1>{{myCase}}</h1>`,
    props:['myCase']
  })

 new Vue({
    el:'#app',
    data:{
      currentcom:'aaa',
      ass:'huafbasfa'
    },
    computed:{
    },
   watch: {
   },
    methods:{
      bsq(msg){
        this.currentcom=msg
      }
    }
  })
  console.log(vm)
</script>
